﻿<template>
  <div class="chapter2">
    <ul>
      <li><router-link to="/chapter2/1">1.组件注册</router-link></li>
      <li><router-link to="/chapter2/2">2.组件的Props</router-link></li>
      <li><router-link to="/chapter2/3">3.事件传递</router-link></li>
      <li><router-link to="/chapter2/4">4.v-model双向绑定</router-link></li>
      <li><router-link to="/chapter2/5">5.Attributes透传</router-link></li>
      <li><router-link to="/chapter2/6">6.插槽</router-link></li>
      <li><router-link to="/chapter2/7">7.依赖注入</router-link></li>
      <li><router-link to="/chapter2/8">8.异步组件</router-link></li>



      <!-- 这里可以添加更多本章的知识点链接 -->
    </ul>
    <router-view></router-view>
  </div>
</template>

<script>

export default {
  name: 'Chapter2Index'
}
</script>
<style scoped>

</style>
